package top.tagao.m01_structuralPatterns.s_06_decorator;

/**
 * @author fu-xiao-liu
 * @Date 2022/8/1 23:45
 */
public class Coffee extends Drink{

    public Coffee() {
        setDes(" Coffee ");
        setPrice(4.0f);
    }

    @Override
    public float cost() {
        return super.getPrice();
    }
}
